<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/vectrics.tld"    prefix="vectrics" %>


<html:form action="/admin/candidate/index" method="POST">

	<table width="820" >
		<tr>
			<td class="formBg1" valign="top" width="20%" >
				<font class="formLabelClass"><bean:message key="prompt.last.name"/></font>
			</td>
			<td class="formBg1" valign="top" width="30%">
				<html:text property="lastName" styleClass="formEditClass" maxlength="40"/>
			</td>
			<td class="formBg2" valign="top" width="20%" >
				<font class="formLabelClass"><bean:message key="prompt.first.name"/></font>
			</td>
			<td class="formBg2" valign="top" width="30%" >
				<html:text property="firstName" styleClass="formEditClass" maxlength="40"/>
			</td>
		</tr>
		<tr>
			<td  class="formBg1" valign="top">
				<font class="formLabelClass"><bean:message key="prompt.city"/></font>
			</td>
			<td  class="formBg1" valign="top">
				<vectrics:locationPicker 
                 typeCode="candidate.location"
                 caption="prompt.city" 
                 paramName="location" 
                 popupLeft="200" 
                 popupTop="80" 
                 styleClase="formStaticClass" 
                 />
			</td>
			<td  class="formBg2" valign="top">
				<font class="formLabelClass"><bean:message key="prompt.email"/></font>
			</td>
			<td  class="formBg2" valign="top">
				<html:text property="email" styleClass="formEditClass" maxlength="60"/>
			</td>
		</tr>
	</table>
	<table width="820" >
		<tr>
			<td valign="TOP" align="right" width="50%" >
				<vectrics:formButton elementId="ok.btn" code="button.ok" phraseCode="button.ok" value="submit" name="submit"/>
			</td>
            <td valign="TOP" align="left" width="50%" >
				<vectrics:formButton elementId="cancel.btn" code="button.cancel" phraseCode="button.reset" value="reset" name="reset"/>
			</td>
		</tr>
	</table>
</html:form>


<vectrics:candidateSearchResults  usertype="candidate"
	permissionCandidateView="view_candidate_details"
	permission="view_candidate_list"
/>

